]> dgit.raspbian.org Git - gnome-shell.git/commit
polkit: Find the best user to authenticate as
authorMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2011 03:42:37 +0000 (22:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2011 22:28:58 +0000 (17:28 -0500)
commit55d6c5ea8f72df17b2928d015644dcd3f31f6b96
tree7088a0300416a39655d1a09ec64364c73eba7858
parentfa2ff8158fafcb637789c31b56544704f0e0ec29
polkit: Find the best user to authenticate as

We prefer to ask the user for his own password. If PolicyKit
is not configured to accept that, try the root password. If
PolicyKit does not accept that either, ask for password of
the first user that PolicyKit _will_ accept. The last case
is a bit broken, but should rarely occur in real-life
configurations.

https://bugzilla.gnome.org/show_bug.cgi?id=651547
js/ui/polkitAuthenticationAgent.js